<%--
    Document   : test
    Created on : 2016-2-12, 15:13:47
    Author     : lianzuotai
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="zh">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="">
        <meta name="author" content="">
        <title>我的用车</title>
        <link rel="stylesheet" href="<c:url value="/css/weui.css" />"/>
        <link rel="stylesheet" href="<c:url value="/css/jquery-weui.css" />"/>
        <link rel="stylesheet" href="<c:url value="/css/example.css" />"/>
        <script type="text/javascript" src="<c:url value="/js/jquery-2.1.4.js"/>"></script>
        <script type="text/javascript" src="<c:url value="/js/jquery-weui.js"/>"></script>
        <script type="text/javascript" src="<c:url value="/js/frame-weui.js"/>" ></script>
        <script type="text/javascript" src="<c:url value="/js/busi/wx/wgh_index.js"/>" ></script>
        <script type="text/javascript" src="<c:url value="http://res.wx.qq.com/open/js/jweixin-1.1.0.js"/>" ></script>
        <script type="text/javascript">
        </script>
        <style type="text/css">
        </style>
    </head>
    <body>
        <div class="weui_cells_title">请选择车辆确认归还：
        <c:if test="${cl.length!=0}">
                <a href="javascript:xsxq();" class="weui_btn weui_btn_mini weui_btn_primary" style="margin-left: 130px">详情</a></div>
                </c:if>
        </div>
        <c:if test="${cl.length==0}">
            <center><div class="weui_cells_title">暂无在用车辆！</div></center>
        </c:if>
           <div class="weui_cells weui_cells_radio">
            <c:forEach items="${cl.value}" var="cl" varStatus="st">
                <label class="weui_cell weui_check_label" for="${st.index+1}">
                    <div class="weui_cell_bd weui_cell_primary">
                        <p>${st.index+1}.${cl.cph_.value},${cl.ycr.value},到期时间:${cl.jssj.value}</p>
                    </div>
                    <div class="weui_cell_ft">
                        <input type="radio" class="weui_check" name="radio1" id="${st.index+1}" value="${cl.id.value}-${cl.sftx.value}">
                        <span class="weui_icon_checked"></span>
                    </div>
                </label>
            </c:forEach>
        </div> 
        <c:if test="${cl.length!=0}">
                <div class="weui_btn_area">
                    <a href="javascript:;" id="tj" class="weui_btn weui_btn_primary">归还用车</a>
                    <a href="javascript:;" id="xy" class="weui_btn weui_btn_primary">车辆续用</a>
                </div>
        </c:if>    
        </div>
    </body>
</html>